using System;
using System.Collections.Generic;
using System.Text;

using GReporting.Core.Layout;
namespace GReporting.Core.PagingAlgorithm
{
    public class GroupFooterBuilder:AbstractPageBuilder
    {
        public override void Build(PageBuilderContext context)
        {
            Group innerT = context.GroupOrder[context.GroupFooterIndex];
            context.CurrentBand = innerT.groupFooter;
            int bandheight = PrintBand(context);
            context.PrintHeight += bandheight;
            context.Y += bandheight;
        }
    }
}
